package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wtwd.device.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "设置终端预警血氧对象",description = "")
public class SetBloodOxygenWarning extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设置终端预警血氧主键id")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("设备id")
    private Long deviceId;

    @ApiModelProperty("最大血氧")
    private Integer maxBloodOxygen;

    @ApiModelProperty("最小血氧")
    private Integer minBloodOxygen;

    @ApiModelProperty("流水号")
    private String number;

    @ApiModelProperty("设备上报时间")
    private String time;

    public SetBloodOxygenWarning() {
    }



    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }


    public Integer getMaxBloodOxygen() {
        return maxBloodOxygen;
    }

    public void setMaxBloodOxygen(Integer maxBloodOxygen) {
        this.maxBloodOxygen = maxBloodOxygen;
    }

    public Integer getMinBloodOxygen() {
        return minBloodOxygen;
    }

    public void setMinBloodOxygen(Integer minBloodOxygen) {
        this.minBloodOxygen = minBloodOxygen;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }


    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "SetBloodOxygenWarning{" +
                "id=" + id +
                ", deviceId=" + deviceId +
                ", maxBloodOxygen='" + maxBloodOxygen + '\'' +
                ", minBloodOxygen='" + minBloodOxygen + '\'' +
                ", number='" + number + '\'' +
                ", time=" + time +
                '}';
    }
}
